package com.maimao.api.user;

import com.maimao.core.model.resp.Result;
import com.maimao.model.common.StatusInput;
import com.maimao.model.user.Shop;
import com.maimao.model.user.input.ShopBindBrand;
import com.maimao.model.user.sys.vo.Permissions;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author MaoLin Wang
 * @date 2020/12/22 7:39 下午
 */
@Api(value = "店铺接口")
@RequestMapping("/web/shop")
public interface ShopApi {

    @ApiOperation("查询店铺")
    Result<?> findShopByOwner(Long owner, Integer social);

    @ApiOperation("根据id查询店铺")
    Result<?> queryById(Long id);

    @ApiOperation("查询待审核店铺申请")
    Result<?> queryToCheck(Integer shopType, Integer page, Integer size);

    @ApiOperation("管理员审核")
    Result<?> check(StatusInput input, Integer shopType);

    @ApiOperation("绑定品牌")
    Result<?> bindBrand(ShopBindBrand shopBindBrand);
}
